package com.zbkj.common.response.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Auther:
 * @Date: 2024/9/15 16:53
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ClientOrderResponse对象", description = "客户端-订单响应信息")
public class ClientOrderResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单流水号")
    private String orderNo;

    @ApiModelProperty("订单类型 0 流量包订单, 1申请报告订单")
    private Integer orderType;

    @ApiModelProperty("0 客户订单  1 后台添加订单")
    private Integer sourceType;

    @ApiModelProperty("应付金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("1 对公转账")
    private Integer payType;

    @ApiModelProperty("1待处理 2 已开通 3 已拒绝 4 超时取消 5手工取消")
    private Integer orderStatus;

    @ApiModelProperty("转账备注")
    private String tfremark;

    @ApiModelProperty("申请报告订单对应项目id")
    private Long projectId;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("转账凭证图片url集合")
    private List<String> payVouchesList;

    @ApiModelProperty("订单明细集合")
    private List<OrderDetailResponse> orderDetailList;

    @ApiModelProperty("下单成功后-支付方式收款账户信息")
    private ReciveAccountResponse reciveAccount;
}
